/*
* Test
*
* r2
*
* GNU General Public License v3.0
*/

package com.acme;

public class Test {
	public static void main(String[] args) {
		int v1 = 3;
		int v2 = v1; // fixed loss of precision error
		System.out.println(v2);
		v1 = 256;
		int v3 = v1; // fixed loss of precision error
		System.out.println(v3);
		int v4 = 's';
		System.out.println(v4);

		byte v5 = 115;
		if (v5 == 's') {
			System.out.println("Equals");
		}
		
		System.out.println((double)4); // prints 4.0
		
		double d = 5;
		System.out.println(d + 1); // prints 6.0
		
		boolean b = v4 > 0; // fixed incompatible types
		
		String v6 = "short"; // fixed invalid type
		
		float v7 = 3.67f; // fixed loss of precision
		
		float v9 = 3; // widening conversion, auto type promotion with no error
		
		float v8 = v7; // fixed loss of precision error
		
		double array[] = new double[27]; // fixed type mismatch
	}
}
